﻿namespace EFS.RC.CC.Messages.Customer
{
	/// Class Caller
	public class Caller : EFS.RC.CC.Messages.Message
	{
		public Caller()
		{
		}

		/// Property Line: Get, Set
		public System.Int32 CustomerEndPointId;

		/// Property SIP: Get, Set
		public System.String SIP;

		/// Property Telephone: Get, Set
		public System.String Telephone;

		/// Serialize
		public override void Serialize(EFS.Common.Serialization.XmlWriter xmlWriter)
		{
			// write
			xmlWriter.Write("CustomerEndPointId", CustomerEndPointId);
			xmlWriter.Write("SIP", SIP);
			xmlWriter.Write("Telephone", Telephone);
		}

		/// Deserialize
		public override void Deserialize(EFS.Common.Serialization.XmlReader xmlReader)
		{
			// read
			xmlReader.Read("CustomerEndPointId", ref  CustomerEndPointId);
			xmlReader.Read("SIP", ref  SIP);
			xmlReader.Read("Telephone", ref  Telephone);
		}
	}
}